<?php
$menumark = 'pointlog';
switch($act) {
	//####################// 积分明细 //####################//
	default:
		$info['user_point'] = $user['user_point'];
		$list = $db->pe_selectall('pointlog', array('user_id'=>$user['user_id'], 'order by'=>'pointlog_id desc'), '*', array(30, $_g_page));
		foreach ($list as $k=>$v) {
			$list[$k]['pointlog_atime'] = pe_date($v['pointlog_atime']);
		}
		$tongji['all'] = $db->pe_num('pointlog', array('user_id'=>$user['user_id']));
		pe_fixurl(pe_url("/page/user/pointlog_list", 'app'));
		$seo = pe_seo($menutitle='积分明细');
		include(pe_tpl('pointlog_list.html'));
	break;
}
?>